package com.example.springsecurity01.repository;

import com.example.springsecurity01.model.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author lzh
 * @date 2019/9/16 - 15:05
 */
@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo,Long> {
    public UserInfo findByUsername(String username);

}
